﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace ZhiHeng.OneCard.WpfClient.Service
{
    public interface SuperService
    {
       
        /// <summary>
        /// 增加商户
        /// </summary>
        /// <param name="sp">商户集合</param>
        /// <returns></returns>
        int InsertSuper(Model.Super sp);
        /// <summary>
        ///  删除商户
        /// </summary>
        /// <param name="SuperId">商户GUID</param>
        /// <returns></returns>
        int DeleteSuper(Guid SuperId);
        /// <summary>
        /// 修改商户信息
        /// </summary>
        /// <param name="sp">商户集合</param>
        /// <returns></returns>
        int UpdateSuper(Model.Super sp);
        /// <summary>
        /// 获取所有商户
        /// </summary>
        /// <returns></returns>
        ObservableCollection<Model.Super> getSuper();
    }
}
